package com.quasar.hpatient.model.custommodel;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * author : 许建宏
 * Date: 2017/10/26 0026
 * View:血糖
 */

public class BloodSugarTableItem implements Serializable,MultiItemEntity {

    public static final int HEAD = 1;
    public static final int BODY = 2;
    public static final int TAIL=3;

    public int itemtype;
    //检测时间
    public String testingTime;
    public String itemName;//检测名称
    public String val;//检测值
    public String unit;//单位


    public BloodSugarTableItem(int itemtype){
        this.itemtype=itemtype;
    }

    public BloodSugarTableItem(int itemtype,String testingTime,String itemName,String val,String unit){
        this.itemtype=itemtype;
        this.testingTime=testingTime;
        this.itemName=itemName;
        this.val=val;
        this.unit=unit;
    }

    @Override
    public int getItemType() {
        return itemtype;
    }
}
